package bdz.projects.atwww.electrolux.views.analogue
{
	import bdz.common.utils.MathUtils;
	import bdz.projects.atwww.electrolux.ui.ELRotaryControl;
	
	import gs.TweenMax;
	import gs.easing.Strong;
		
	public class ELAnalogueRotary extends ELRotaryControl {
		
		public function ELAnalogueRotary() {
			super(101, new RotaryHandler());
		}
		override protected function snapValue(n:Number):Number{
			if(n > 240 && n < 270){
				n = 270;
			}
			if(n < 240 && n > 210){
				n = 210;
			}
			var val:Number = Math.floor(n/_degreeIncrement)*_degreeIncrement;
			return val; 
		}
		
	}
}